package cn.iocoder.lw.module.core.controller.admin.workorder.vo.report;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 工单报表统计生成 Req VO
 */
@Schema(description = "管理后台 - 工单报表统计生成 Request VO")
@Data
public class WorkOrderReportGenerateReqVO {

    @Schema(description = "统计类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer reportType; // 1-发起人统计，2-接单人统计

    @Schema(description = "统计开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime startTime;

    @Schema(description = "统计结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime endTime;

    @Schema(description = "用户类型", example = "1")
    private Integer userType; // 0-接单人(userType=0)，1-发起人(userType=1)

}